package com.ssy.lingxi.member.merchant.model.vo.validate.request;

import javax.validation.constraints.*;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 会员入库分类审核 - 主营品类接口参数 - 品类信息
 * @author 万宁
 * @version 2.0.0
 * @date 2021-12-16
 */
public class BusinessCategoryDetailVO implements Serializable {
    private static final long serialVersionUID = 5439043638808177464L;

    /**
     * 品类层级
     */
    @NotNull(message = "品类层级不能为空")
    @Positive(message = "品类层级要大于0")
    private Integer level;

    /**
     * 品类Id
     */
    @NotNull(message = "品类Id不能为空")
    @Positive(message = "品类Id要大于0")
    private Long categoryId;

    /**
     * 品类名称
     */
    @NotBlank(message = "品类名称不能为空")
    private String name;

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
